package com.yhj.wchat.controller;

import com.yhj.wchat.entity.vo.ResponseVO;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 */
@RestController
@RequestMapping("/health")
@Slf4j
public class HealthController extends ABaseController {

    /**
     * 健康检查
     */
    @GetMapping("/check")
    public ResponseVO healthCheck() {
        return getSuccessResponseVO("ok");
    }


}
